package com.cgtong.android.http;

/**
 * Created by zhuqingchun
 * 2017/9/30 09:13.
 */

public class ApiManager {


    //public static final String BASE_URL = "http://121.41.62.98:9009/ehomeclient/";//测试
    //public static final String BASE_URL = "http://211.136.105.112/ehomeclient/"; //正式
    public static final String BASE_URL = "https://www.pdejy.com:80/ehomeclient/"; //正式https地址

    //--------------------首页模块-----------------------
    //获取精彩活动列表
    public static final String URL_GET_ACTIVITIES = "activity/list";
    //获取首页资讯列表
    public static final String URL_GET_HOMENEWS = "news/getnewspage";
    //资讯详情页
    public static final String URL_GET_NEWSINFO = "news/getxqnews";
    //参与活动
    public static final String URL_ACTIVITY_DETAIL = "activity/detail";
    //活动投票
    public static final String URL_ACTIVITY_VOTE = "activity/vote";
    //获取首页banner列表
    public static final String URL_GET_BANNER_LIST = "news/getbannerlist";

    //登录
    public static final String URL_LOGIN = "login/userlogin";
    /**
     * 获取图形验证码
     */
    public static final String URL_IMG_VALID = "common/getCode";
    //发送验证码
    public static final String URL_SEND_VALIDCODE = "register/sendvalidcode";
    //注册
    public static final String URL_REGISTER = "register/saveregister";
    //忘记密码提交修改
    public static final String URL_SAVE_FORGET_PASSWORD = "register/saveforgetpwd";

    //------------------问题模块---------------
    //用户大家看看/草稿箱模块查看分页时调用
    public static final String PROBLEM_PAGE_URL = "problem/problempage";
    public static final String PROBLEM_DETAIL_URL = "problem/problemdetail";
    public static final String PROBLEM_FOLLOW_USER_URL = "problem/attentionuser";
    public static final String PROBLEM_FOLLOW_PROBLEM_URL = "problem/attentionproblem";
    public static final String PROBLEM_DAY_REPORT_URL = "problem/dayreport";
    public static final String PROBLEM_MONTH_REPORT_URL = "problem/monthreport";
    public static final String PROBLEM_YEAR_REPORT_URL = "problem/yearreport";
    public static final String PROBLEM_MONTH_UNOPEN_EXPIRED_NUM_URL = "problem/monthunopenexpirednum";
    public static final String PROBLEM_MONTH_PROBLEM_PAGE_URL = "problem/monthproblempage";
    public static final String PROBLEM_SAVE_PROBLEM_URL = "problem/saveproblem";
    public static final String PROBLEM_REVIEW_PROBLEM_URL = "problem/problemreview";
    public static final String PROBLEM_DELDRAFT_URL = "problem/deldraft";
    public static final String PROBLEM_YDSM_URL = BASE_URL + "problem/getproblemydsm";  //引导说明
    public static final String PROBLEM_SBFW_URL = BASE_URL + "problem/getproblemsbfw";  //上报范围

    //我的上报
    public static final String MINE_GET_MY_REPORTS_URL = "mine/getupreportpage";
    public static final String MINE_DELETE_MY_REPORTS_URL = "mine/getupreportdelete";
    public static final String MINE_FOLLOWED_USERS_URL = "mine/getusersattentionpage";
    public static final String MINE_FOLLOWED_PROBLEMS_URL = "mine/getattentionproblempage";
    public static final String MINE_PROBLEMPAGE_BY_USERID_URL = "mine/getattentionproblempagebyuserid";
    //工单回收站
    public static final String COMMIT_RECYCLE_IDS_URL = "mine/recoveryproblemsbyids";
    public static final String HTTP_RECYCLE_PROBLEMS_URL = "mine/getdelattentionproblempagebyuserid";
    public static final String DELETE_RECYCLE_IDS_URL = "problem/deleteForeverProblem";


    //根据用户token获取用户信息
    public static final String URL_GETUSERBYTOKEN = "common/getuserbytoken";
    //密码修改
    public static final String URL_UPDATEPWD = "common/updatepwd";
    //修改用户资料
    public static final String URL_UPDATEUSER = "mine/updateuser";
    //分类获取未读通知数
    public static final String URL_GETUNREADMSG = "mine/getrecentmessage";
    //分类获取通知分页列表
    public static final String URL_GETMSGLIST = "mine/getmessagelist";
    //通知阅读状态修改
    public static final String URL_UPDATEUNREAD = "mine/upatereadstatus";
    //用户提交意见反馈信息
    public static final String URL_FEEDBACK = "mine/sendfeedbackinfo";
    //用户获取自己提交的意见反馈列表
    public static final String URL_GETFEEDBACK = "mine/getmyfeedbacklist";
    //我参与的活动
    public static final String URL_GET_MYPART_ACTIVITY = "mine/getuserinactivitypage";
    //签到
    public static final String URL_SIGN = "mine/sign";
    //获取用户当月签到信息
    public static final String URL_GETSIGNINFO = "mine/getsigninfo";
    //用户积分明细获取接口
    public static final String URL_GET_SCORES = "common/getuserscorelist";
    //根据版本标识检索版本信息[客户端版本更新]
    public static final String URL_GET_VERSIONS = "common/getversion";
    //领取红包接口
    public static final String URL_GET_REDPACKET = "redpacket/sendredpacket";
    //查询红包接口
    public static final String URL_GET_GETREDPACKETPOOL = "redpacket/getredpacketpool";
    //用户登出接口
    public static final String URL_LOGOUT = "common/userout";
}
